/**
 * 
 */
package org.insia.smartposse.metier.webservice;

import java.io.Serializable;

import org.insia.smartposse.metier.FreelanceAlert;

/**
 * @author raguerri
 * @since 18 avr. 07
 * @version 0.0.1
 * 
 */
public class LightFreelanceAlert 
implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1791106674502719459L;
	private long id;
	private long freelance;
	private long skill;
	
	/**
	 * 
	 *
	 */
	public LightFreelanceAlert() {
	}

	/**
	 * 
	 * @param alert
	 */
	public LightFreelanceAlert(FreelanceAlert alert) {
		id = alert.getId();
		freelance = alert.getFreelance().getId();
		skill = alert.getSkill().getId();
	}

	/**
	 * @return the freelance
	 */
	public long getFreelance() {
		return freelance;
	}

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @return the skill
	 */
	public long getSkill() {
		return skill;
	}

	/**
	 * @param freelance the freelance to set
	 */
	public void setFreelance(long freelance) {
		this.freelance = freelance;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @param skill the skill to set
	 */
	public void setSkill(long skill) {
		this.skill = skill;
	}

}
